package bairui.international.console.web.controller.advance;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import com.lianjing.sh.spring.web.controller.base.action.Action;
import com.lianjing.sh.spring.web.controller.enhance.module.context.ModuleContext;
import com.lianjing.sh.spring.web.controller.enhance.navigations.context.NavigationContext;

import bairui.international.console.web.controller.C_Index_Access_Left;

/**
 *
 * 物料管理入口
 *
 * @generated
 * 
 * @see STest_C_Advance_Index_Left 测试
 *
 */
@Controller
public class C_Advance_Index_Left
 extends SC_Advance_Index_Left 
{
	
	
	/**
	 * 侧边栏
	 */
	@Action(Left.class)
	@GetMapping(Left.RequestMappingValue)
	public ModelAndView left(
		ModelMap map, HttpServletRequest request,
		NavigationContext navigationContext, ModuleContext moduleContext
	) throws Exception {
		return new ModelAndView("console/left");
	}
	
	public static void importPage(ModelMap map){
		map.addAttribute("admin_left_page", C_Index_Access_Left.Left.Operate().getUrl());
	}

}
